<?php /* Smarty version Smarty 3.1.0, created on 2012-01-21 21:03:23
         compiled from "/projects/newmasmedio/templates/videos.tpl" */ ?>
<?php /*%%SmartyHeaderCode:21314394714f1b415b67caa2-97806610%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '98da546668ed591e81b6a3117de2ee0f43c5f188' => 
    array (
      0 => '/projects/newmasmedio/templates/videos.tpl',
      1 => 1327204948,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '21314394714f1b415b67caa2-97806610',
  'function' => 
  array (
  ),
  'version' => 'Smarty 3.1.0',
  'unifunc' => 'content_4f1b415b69aa0',
  'variables' => 
  array (
    'mainVideo' => 0,
    'videos20' => 0,
    'video' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4f1b415b69aa0')) {function content_4f1b415b69aa0($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ('../templates/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div id="colPrincipal">	
	<div id="mainVideo">
		<?php echo $_smarty_tpl->tpl_vars['mainVideo']->value->getEmbedLink();?>

	</div>
	<div id="videosAnteriores">
		<?php  $_smarty_tpl->tpl_vars['video'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['videos20']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['video']->key => $_smarty_tpl->tpl_vars['video']->value){
$_loop = true;
?>
			<div class="video-box">
				<a href="/videos/<?php echo $_smarty_tpl->tpl_vars['video']->value->getID();?>
">
					<img src="<?php echo $_smarty_tpl->tpl_vars['video']->value->getThumbnail();?>
" width="120" height="90">
					<br><?php echo $_smarty_tpl->tpl_vars['video']->value->getTitulo();?>

				</a>
			</div>
		<?php } ?>
	</div>
</div>

<div id="latDer">
	<?php echo $_smarty_tpl->getSubTemplate ('../templates/latDer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div>
<?php echo $_smarty_tpl->getSubTemplate ('../templates/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>